app.controller("TestController",function($scope, $controller, TestService){

    $scope.list = {};//页面显示的列表
    $scope.entity = {spec:{},options:[]};//编辑保存用的实体数据
    $controller("baseController",{$scope:$scope});


    $scope.list = function(){
        debugger;
        TestService.list().then(function(result){
            debugger;
                $scope.list = result.data;
                console.log(list);
            });
    };

});